<ul class="nav nav-tabs" role="tablist">
<li role="presentation" {if $ac=='index'}class="active"{/if}><a href="{tsUrl('history')}">最新动态</a></li>
<li role="presentation" {if $ac=='my'}class="active"{/if}><a  href="{tsUrl('history','my')}">我的动态</a></li>
</ul>